|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.vtp.framework.engine.ObserverDescriptor
public final class ObserverDescriptor
An object that describes an observer that can be bound to actions.
| Constructor Summary | |
|---|---|
ObserverDescriptor(java.lang.String id,
java.lang.String name,
java.lang.Class type,
boolean blocking)
Creates a new ObserverDescriptor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getId()
Returns the ID of this service. |
java.lang.String |
getName()
Returns the name of this service. |
java.lang.Class |
getType()
Returns the type of this service. |
boolean |
isBlocking()
Returns true if this observer is blocking. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ObserverDescriptor(java.lang.String id,
java.lang.String name,
java.lang.Class type,
boolean blocking)
throws java.lang.IllegalArgumentException,
java.lang.NullPointerException
id - The ID of this observer.name - The name of this observer.type - The type of this observer.blocking - True if this observer is blocking.
java.lang.IllegalArgumentException - If the supplied ID is empty.
java.lang.IllegalArgumentException - If the supplied name is empty.
java.lang.IllegalArgumentException - If the supplied event is not one of before
or after.
java.lang.IllegalArgumentException - If the supplied type is not a public,
concrete class with at least one public constructor or is not
assignable to Runnable.
java.lang.NullPointerException - If the supplied ID is null.
java.lang.NullPointerException - If the supplied name is null.
java.lang.NullPointerException - If the supplied event is null.
java.lang.NullPointerException - If the supplied type is null.| Method Detail |
|---|
public java.lang.String getId()
public java.lang.String getName()
public java.lang.Class getType()
public boolean isBlocking()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||